package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class PersonalCenter extends AppItem implements Serializable {
	String username;
	String userimg;
	String artnumber;
	String follownumber;
	String news;
	String realname;
	String mobile;
	String sex;
	String birthday;
	String industryid;
	String likeid;
	String incomeid;
	int all;
	int systemread;
	int commentread;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		username = obj.optString("username");
		userimg = obj.optString("userimg");
		artnumber = obj.optString("artnumber");
		follownumber = obj.optString("follownumber");
		news = obj.optString("news");
		realname = obj.optString("realname");
		mobile = obj.optString("mobile");
		sex = obj.optString("sex");
		birthday = obj.optString("birthday");
		industryid = obj.optString("industryid");
		likeid = obj.optString("likeid");
		incomeid = obj.optString("incomeid");
		all = obj.optInt("all");
		systemread = obj.optInt("systemread");
		commentread = obj.optInt("commentread");

	}

	public int getAll() {
		return all;
	}

	public void setAll(int all) {
		this.all = all;
	}

	public int getSystemread() {
		return systemread;
	}

	public void setSystemread(int systemread) {
		this.systemread = systemread;
	}

	public int getCommentread() {
		return commentread;
	}

	public void setCommentread(int commentread) {
		this.commentread = commentread;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserimg() {
		return userimg;
	}

	public void setUserimg(String userimg) {
		this.userimg = userimg;
	}

	public String getArtnumber() {
		return artnumber;
	}

	public void setArtnumber(String artnumber) {
		this.artnumber = artnumber;
	}

	public String getFollownumber() {
		return follownumber;
	}

	public void setFollownumber(String follownumber) {
		this.follownumber = follownumber;
	}

	public String getNews() {
		return news;
	}

	public void setNews(String news) {
		this.news = news;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIndustryid() {
		return industryid;
	}

	public void setIndustryid(String industryid) {
		this.industryid = industryid;
	}

	public String getLikeid() {
		return likeid;
	}

	public void setLikeid(String likeid) {
		this.likeid = likeid;
	}

	public String getIncomeid() {
		return incomeid;
	}

	public void setIncomeid(String incomeid) {
		this.incomeid = incomeid;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

}
